quarter	equ		64		;quarter note length
whole	equ		quarter*4		;whole note length
half	equ		quarter*2		;half note length
eighth	equ		quarter/2		;eighth note length
sixteenth	equ	quarter/4		;sixteenth note length
thirtysecond	equ	quarter/8		;thirtysecond note length
sixtyfourth	equ	quarter/16		;sixtyfourth note length

quarterd	equ	quarter+eighth
wholed	equ		whole+half
halfd	equ		half+quarter
eighthd		equ	eighth+sixteenth
sixteenthd	equ	sixteenth+thirtysecond
thirtysecondd	equ	thirtysecond+sixtyfourth


half3	equ		whole/3			;half note triplets
quarter3	equ	half/3			;quarter note triplets
eighth3		equ	quarter/3		;eighth note triplets
sixteenth3	equ	eighth/3		;sixteenth note triplets
thirtysecond3	equ	sixteenth/3		;thirtysecond note triplets
sixtyfourth3	equ	thirtysecond/3		;sixtyfourth note triplets

lw5 equ 450
lw4 equ 420
lw3 equ 390
lw2 equ 330
lw1 equ 300
c0 equ 255
cs0 equ	242
d0 equ	228
eb0 equ	215
e0 equ	203
f0 equ	192
fs0 equ	181
g0 equ	171
ab0 equ	161
a0 equ	152
bb0 equ	144
b0 equ	136
c1 equ	128
cs1 equ	121
d1 equ	114
eb1 equ	108
e1 equ	102
f1 equ	96
fs1 equ	90
g1 equ	85
ab1 equ	81
a1 equ	76
bb1 equ	72
b1 equ	68
c2 equ	64
cs2 equ	60
d2 equ	57
eb2 equ	54
e2 equ	51
f2 equ	48
fs2 equ	45
g2 equ	43
ab2 equ	40
a2 equ	38
bb2 equ	36
b2 equ	34
c3 equ	32
cs3 equ	30
d3 equ	28
eb3 equ	27
e3 equ	25
f3 equ	24
fs3 equ	23
g3 equ	21
ab3 equ	20
a3 equ	19
bb3 equ	18
b3 equ	17
c4 equ	16
cs4 equ	15
d4 equ	14
eb4 equ	13
e4 equ	13
f4 equ	12
fs4 equ	11
g4 equ	11
ab4 equ	10
a4 equ	9
bb4 equ	9
b4 equ	8
c5 equ	8
cs5 equ	8
d5 equ	7
eb5 equ	7
e5 equ	6
f5 equ	6
fs5 equ	6
g5 equ	5
ab5 equ	5
a5 equ	5
bb5 equ	4
b5 equ	4
c6 equ	4
cs6 equ	4
d6 equ	4
eb6 equ	3
e6 equ	3
f6 equ	3
fs6 equ	3
g6 equ	3
ab6 equ	3
a6 equ	2
bb6 equ	2
b6 equ	2
c7 equ	2
cs7 equ	2
d7 equ	2
eb7 equ	2
e7 equ	2
f7 equ	1
fs7 equ	1
g7 equ	1
ab7 equ	1
a7 equ	1
bb7 equ	1
b7 equ	1
rest equ 0
